include( ../../../common.pri)
include( ../../../lib.pri )

QT -= gui

TEMPLATE = lib
DEFINES += PLUGIN_LIBRARY

CONFIG += c++11
#CONFIG += fly $${LIBS_PATH}

TARGET = decoding_plugin
VERSION = 0.0.4
decoder.path = /opt/decoding
decoder.files = /home/db_scripts/alekseev_semen/project/lib.linux/$${TEMPLATE}$${TARGET}.so.$${VERSION}
INSTALLS+= decoder

#target.path += $$[QT_INSTALL_PLUGINS]/imageformats
#INSTALLS += target

INCLUDEPATH += /usr/include/postgresql/11/server/
# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    decoding_plugin.cpp

#HEADERS += \
#    decoding_global.h \
#    decoding.h

# Default rules for deployment.
#unix {
#    target.path = /usr/lib
#}
#!isEmpty(target.path): INSTALLS += target

unix:!macx: LIBS += -L$$PWD/../../../lib.linux/ -ldecoding

INCLUDEPATH += $$PWD/../../lib/decoding
DEPENDPATH += $$PWD/../../lib/decoding
